package com.cqupt.medical.controller;

import com.cqupt.medical.service.DrugService;
import com.cqupt.medical.service.PatientService;
import com.cqupt.medical.service.ItemService;
import com.cqupt.medical.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>@author  Jay</p>
 * <p>@date  2020/7/27 11:20</p>
 * <p>@Description:所有Controller的抽象，自动注入和参数配置都在这个类中，
 * 所有Controller都需要继承这个Controller</p>
 */

public abstract  class AbstractController {
    @Autowired
    protected DrugService drugService;
    @Autowired
    protected PatientService patientService;
    @Autowired
    protected ItemService ProjectService;
    @Autowired
    protected UserService userService;

}
